package com.techsun.lf.shadow;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class AppMainActivity extends AppCompatActivity {

    Button mBtnOpenLogin;
    Button mBtnOpenNext;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_app_main);

        mBtnOpenLogin = findViewById(R.id.btn_open_login);
        mBtnOpenNext = findViewById(R.id.btn_open_next);

        mBtnOpenLogin.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });

        mBtnOpenNext.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(AppMainActivity.this, AppSecondActivity.class);
                startActivity(intent);
            }
        });
    }

    private void openLogin() {

    }
}